package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.Result;

import java.util.Map;

public interface OrderService {
    public Result order(Map map) throws Exception;
    public Map findById(Integer id);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    Result backendOrder(Map map) throws Exception;

    Result editOrderStatus(Integer id);

    void deleteById(Integer id) throws Exception;
}
